#!/usr/bin/env node

const fs  = require('fs'),
    fileName = process.argv[2];

try{
    console.log(fs.readFileSync(fileName).toString('utf8'));
}catch(e){
    console.log(e.message);
}
//fs.readFile(fileName, (err,data) => {
//  log(data.toString('utf8'));
//});
